package com.dinphin.site.novel.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Desc:
 * <p>
 * <p>
 * Created by dd on 2018/9/6 11:05
 */

public class OtherUtil {
    public static void main(String[]args){
        OtherUtil otherUtil=new OtherUtil();
        otherUtil.show();
    }
    public void show() {
        Date day = new Date();
        SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        System.out.println(df.format(day));
    }
}
